/*
 * @(#)ListUserRecordForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.user.web;

import com.dcivision.framework.GlobalConstant;
import com.dcivision.framework.web.AbstractSearchForm;

/**
  ListUserRecordForm.java

  The ActionForm for ListUserRecord

    @author          Zoe Shum
    @company         DCIVision Limited
    @creation date   08/07/2003
    @version         $Revision: 1.14.2.1 $
*/
public class ListUserRecordForm extends AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.14.2.1 $";

  private String userRoleID = null;
  private String userGroupID = null;
  private String status = GlobalConstant.STATUS_ACTIVE;
  private String index =null;
  private String pageFlag =null;
  private String deleteStaff = null;
  private String grantShowAdmin = null;
  
  //Display options in Listing page
  private String[] basicSelectedID = null;

  public ListUserRecordForm() {
    super();
    this.setSortAttribute("FULL_NAME");
    this.setSortOrder("ASC");
    this.addSearchableAttribute("userGroupID");
    this.addSearchableAttribute("userRoleID");
    this.addSearchableAttribute("status");
  }

  public String getUserRoleID() {
    return(this.userRoleID);
  }


  public void setUserRoleID(String userRoleID) {
    this.userRoleID = userRoleID;
  }

  public String getUserGroupID() {
    return(this.userGroupID);
  }

  public void setUserGroupID(String userGroupID) {
    this.userGroupID = userGroupID;
  }
  
  public String getStatus(){
  	return(this.status);
  }
  
  public void setStatus(String status){
  	this.status = status;
  }
  
  public String[] getBasicSelectedID() {
    return(this.basicSelectedID);
  }

  public void setBasicSelectedID(String[] basicSelectedID) {
    this.basicSelectedID = basicSelectedID;
  }

  public String getIndex() {
    return index;
  }
  
  public void setIndex(String index) {
    this.index = index;
  }
  
  public String getPageFlag() {
    return pageFlag;
  }
  
  public void setPageFlag(String pageFlag) {
    this.pageFlag = pageFlag;
  }
  
  public String getDeleteStaff() {
    return deleteStaff;
  }
  
  public void setDeleteStaff(String deleteStaff) {
    this.deleteStaff = deleteStaff;
  }

  public String getGrantShowAdmin() {
	return grantShowAdmin;
  }

  public void setGrantShowAdmin(String grantShowAdmin) {
	this.grantShowAdmin = grantShowAdmin;
  }  
}
